module AdministratorSystem
  class InvoiceLine < AdministratorSystem::AdministratorSystemConnector
    set_table_name :factura_linea
    set_primary_key :cod_fact_linea

    belongs_to :material, :class_name => "Material", :foreign_key => :cod_material
    belongs_to :invoice, :class_name => "Invoice", :foreign_key => :cod_factura

  end
end